package resource.models;

import java.io.Serializable;


public class Player  implements Serializable
{
	private Creature creature;
	private PlayerConnectionInfo commInfo;
	private PlayerStatus status;
	
	public Player(PlayerConnectionInfo commInfo)
	{
		this.commInfo = commInfo;
		this.status = PlayerStatus.JOINING;
	}
	
	public PlayerConnectionInfo getCommInfo()
	{
		return commInfo;
	}
	
	public void setCreature(Creature creature)
	{
		this.creature = creature;
	}
	
	public Creature getCreature()
	{
		return creature;
	}
	
	public PlayerStatus getPlayerStatus() {
		return status;
	}
	
	public void setPlayerStatus(PlayerStatus status) {
		this.status = status;
	}
	
}
